package com.jyh.blog.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LabelOptionDTO<T> {
    //menu和Resource的id类型不一致
    private T id;
    private String label;
    //必须是这个名字，不然element-ui不渲染
    private List<LabelOptionDTO> children;
}
